package cn.lili.timetask.handler.impl.payment;

import cn.lili.modules.promotion.client.GreenClient;
import cn.lili.timetask.handler.EveryHourExecute;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author xiangqian
 * @version 1.0
 * @data 2023/12/21 15:56
 * <p>
 * 计算绿色积分池单价
 */
@Slf4j
@Component
@RequiredArgsConstructor
public class GreenUnitPriceExecute implements EveryHourExecute {

    private final GreenClient greenClient;
    @Override
    public void execute() {
        greenClient.initGreenUnitPrice();
    }
}
